// rukuyuanzu.cpp : implementation file
//

#include "stdafx.h"
#include "d.h"
#include "rukuyuanzu.h"
#include "shangpinchaxun.h"
#include "rukudengji.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Crukuyuanzu dialog


Crukuyuanzu::Crukuyuanzu(CWnd* pParent /*=NULL*/)
	: CDialog(Crukuyuanzu::IDD, pParent)
{
	//{{AFX_DATA_INIT(Crukuyuanzu)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void Crukuyuanzu::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Crukuyuanzu)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Crukuyuanzu, CDialog)
	//{{AFX_MSG_MAP(Crukuyuanzu)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Crukuyuanzu message handlers

void Crukuyuanzu::OnButton2() 
{
	// TODO: Add your control notification handler code here
	Cshangpinchaxun dlg;
	this->ShowWindow(SW_HIDE);
	dlg.DoModal();
	this->ShowWindow(SW_SHOW);
}

void Crukuyuanzu::OnButton1() 
{
	// TODO: Add your control notification handler code here
	Crukudengji dlg;
	this->ShowWindow(SW_HIDE);
	dlg.DoModal();
	this->ShowWindow(SW_SHOW);
}
